PESessionInfo4

The PESessionInfo4 structure was specially designed for 4-byte aligned functions. It contains information about the current Microsoft Access session. Use this structure with PEGetNthTableSessionInfo4 to retrieve current information and PESetNthTableSessionInfo4 to pass new information.

Type PESessionInfo4
StructSize As Integer
UserID As String * PE_SESS_USERID_LEN
Password As String * PE_SESS_PASSWORD_LEN
SessionHandle As Long
End Type
Members

StructSize

Specifies the size of the PESessionInfo4 structure. You must initialize this member to be the size of whatever it is, for example location.StructSize = PE_SIZEOF_SESSION_INFO4.

UserID

Specifies the user ID value needed for logging onto the system.

Password

Specifies the password needed for logging onto the system. When using this structure with PEGetNthTableSessionInfo4, the Password member is not defined. You specify the password when using the structure with PESetNthTableSessionInfo4.

SessionHandle

The handle to the current Microsoft Access session. The SessionHandle member is likewise undefined with the PEGetNthTableSessionInfo4 function. When you are using the PESetNthTableSessionInfo4 structure, if the SessionHandle value is 0, the Crystal Report Engine uses the UserID and Password settings. In all other cases it uses the SessionHandle value.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com